using System;
using System.Collections.Generic;
using System.Windows.Media;
using System.Windows.Threading;
using System.Xml.Serialization;


namespace LayoutPlanning.Model
{
    [Serializable]
    public class WorkPosition : ObservableDragableObject
    {
        private string _name;


        public WorkPosition(string name, Point point, int angle) : this()
        {
            _name = name;
            Position = point;
            Angle = angle;
        }

        public WorkPosition()
        {
            _name = "Default";
            Position = new Point();
            Origo = new Point(2.5, 2.5);
        }


        public string Name
        {
            get { return _name; }
            set
            {
                _name = value;
                RaisePropertyChanged();
            }
        }
    }
}